package com.gopay.common.domain.dic;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

/**
 * 
 * 国付宝银行信息字典表
 * 
 * @DicGopayBankInfo.java
 * @author fanghw
 * @2016年6月3日 上午10:03:55  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="DIC_GOPAY_BANK_INFO")
public class DicGopayBankInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
    @Column(name = "CODE", unique = true, nullable = false, length = 20)
	private String code;
	
	@Column(name="ABBR_CODE")
	private String abbrCode;

	@Column(name="CREATED_OPERID")
	private String createdOperid;

	@Column(name="CREATED_TS")
	private Timestamp createdTs;

	@Column(name="LAST_UPD_OPERID")
	private String lastUpdOperid;

	@Column(name="LAST_UPD_TS")
	private Timestamp lastUpdTs;

	private String name;

	@Column(name="PBOC_CODE")
	private String pbocCode;

	@Column(name="RAW_NAME")
	private String rawName;

	private String remark;

	private String stat;
	
	private String type;
	
	private String alias;
	
	//唐阳 增加LOGO_PIC_URL字段 20161102
	@Column(name="LOGO_PIC_URL")
	private String logoPicUrl;
	
	@Version
	@Column(name="\"VERSION\"")
	private int version;

	public DicGopayBankInfo() {
	}

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAbbrCode() {
        return abbrCode;
    }

    public void setAbbrCode(String abbrCode) {
        this.abbrCode = abbrCode;
    }

    public String getCreatedOperid() {
        return createdOperid;
    }

    public void setCreatedOperid(String createdOperid) {
        this.createdOperid = createdOperid;
    }

    public Timestamp getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Timestamp createdTs) {
        this.createdTs = createdTs;
    }

    public String getLastUpdOperid() {
        return lastUpdOperid;
    }

    public void setLastUpdOperid(String lastUpdOperid) {
        this.lastUpdOperid = lastUpdOperid;
    }

    public Timestamp getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Timestamp lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPbocCode() {
        return pbocCode;
    }

    public void setPbocCode(String pbocCode) {
        this.pbocCode = pbocCode;
    }

    public String getRawName() {
        return rawName;
    }

    public void setRawName(String rawName) {
        this.rawName = rawName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

	public String getLogoPicUrl() {
		return logoPicUrl;
	}

	public void setLogoPicUrl(String logoPicUrl) {
		this.logoPicUrl = logoPicUrl;
	}

	@Override
	public String toString() {
		return "DicGopayBankInfo [code=" + code + ", abbrCode=" + abbrCode + ", createdOperid=" + createdOperid
				+ ", createdTs=" + createdTs + ", lastUpdOperid=" + lastUpdOperid + ", lastUpdTs=" + lastUpdTs
				+ ", name=" + name + ", pbocCode=" + pbocCode + ", rawName=" + rawName + ", remark=" + remark
				+ ", stat=" + stat + ", type=" + type + ", alias=" + alias + ", logoPicUrl=" + logoPicUrl + ", version="
				+ version + "]";
	}

	

}